
def str_resverse(str):
    """
    反转字符串
    :param str:
    :return:
    """
    return str[::-1]

def substr(s,x,y):
    return s[x:y]

